package com.example.ex2.service;

import com.example.ex2.domain.User;

import java.util.List;

public interface UserService {
    public boolean addUserByUser(User User);
//    删除用户
    public boolean deleteUserById(int id);

//    public boolean resetUserById(int id);
//    获取所有用户？查找所有用户
    public List<User> selectAllUsers();

    public boolean updateUserByUser(User User);
    //重置用户密码      resetPasswordByid
    public boolean resetUserPassword(int user_id);
}
